from PIL import Image

logo = Image.open('logo.png')
ms = Image.open('maishu.jpeg')
x = ms.width - logo.width- 5
y = ms.height - logo.height - 5
ms.paste(logo, (x, y))
ms.save('maishu4.jpeg')